<template>
  <div class="module-mod">
    <div class="common-container module-mod-bottom">
      <tabs-bar :item="item" :type="type" component-name="rowTabsContent"/>
    </div>
  </div>
</template>

<script>
import TabsBar from "./component/tabsBar";
export default {
  name: "rowTabs",
  components: {
    TabsBar
  },
  props: {
    item: {
      type: Object,
      required: true
    },
    type: {
      type: String,
      default: () => {return "learn"}
    }
  },
  setup() {
  }
}
</script>

<style lang="scss" scoped>
  h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
  }
  .module-mod {
    color: #000;
    position: relative;
    z-index: 2;
    .module-mod-bottom {
      margin-bottom: 30px!important;
    }
    .common-container {
      position: relative;
      text-align: left;
      margin: 0 auto;
      .module-mod-header, .module-module-header {
        margin: 12px 0;
        height: 40px;
        line-height: 40px;
        h2 {
          float: left;
          height: 40px;
          line-height: 40px;
        }
      }
    }
    .module-main-title.module-last-item {
      margin-right: 20px;
    }
    .module-main-title {
      font-size: 26px;
      text-align: left;
      cursor: pointer;
    }
    .module-sub-title {
      height: 40px;
      float: left;
      width: 700px;
      line-height: 40px;
      overflow: hidden;
      white-space: pre-wrap;
      .module-link-wrap {
        display: inline-block;
        text-align: center;
      }
      .module-link-wrap {
        display: inline-block;
        text-align: center;
        color: #fff;
        a, span {
          color: #666;
          margin-right: 2px;
          padding: 0 10px;
          font-size: 14px;
        }
      }
    }
    .module-right-content {
      position: absolute;
      right: 0;
      font-size: 14px;
      color: #666;
    }
    .hot-g-row {
      white-space: nowrap;
    }
  }
</style>
